/* 
 * File:   utils.h
 * Author: jorisgirardot
 *
 * Created on 16 novembre 2012, 19:39
 */

#ifndef UTILS_H
#define	UTILS_H

#include <stdio.h>
#include <stdlib.h>
#include <string.h>


#define TRUE 1
#define FALSE 0

int str_isInteger(char *s);
char **str_split (char *str, const char *delimiter);
char *str_replace (char *s, char c, char r);

void clear_stream(FILE *in);

int max(int a, int b);

#endif	/* UTILS_H */

